import Platform

class VerticalPlatform(Platform.Platform):
	def __init__(self,pos,image,xcross=False):
		Platform.Platform.__init__(self,pos,image,xphase=True,yphase=False,xcross=xcross)
	def drawingInformation(self):
		return (self.pos[0], self.pos[1]+self.getHeight()), self.image
	def upperSide(self):
		return self.pos[1]+self.getHeight()
	def lowerSide(self):
		return self.pos[1]
	"""def objectLanding(self,objecto):
		if (not objecto.x_bound):
			self.xLanding(objecto)
		if not (objecto.y_bound):
			self.yLanding(objecto)"""